<%@ taglib prefix="c" uri="http://java.sun.com/jsp/jstl/core" %>

<jsp:include page="template-top.jsp"/>
<div id="welcome">
<h1>Welcome to iScheduler!</h1>
<h2>Use iScheduler to plan for next semester</h2>
<form name="login" action="login.do" method="post">
<input type="hidden" name="redirect" value="${redirect}" />
<table>
  <tr>
    <td class="text">User Name:</td>
    <td><input type="text" name="userName" size="20" value="${form.userName}" /></td>
  </tr>
  <tr>
    <td class="text">Password:</td>
    <td><input type="password" name="password" size="20" /></td>
  </tr>
  <tr>
    <td></td>
    <td class="loginbutton"><input type="submit" value="Login" name="Submit" /></td>
  </tr>
  </form>
  <tr class="or">
  	<td colspan="2">or</td>
  </tr>
  <form name="register" action="register.do" method="post">
  <tr>
    <td colspan="2"><input type="submit" value="Create an Account" name="Submit"/></td>
  </tr>
  </form>
</table>
</div>

<jsp:include page="template-bottom.jsp"/>
